home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
04
/
8
/
DISK0481.ZIP
/
SRVER258.DOC
< prev
Wrap
Text File
|
1989-01-14
|
8KB
|
265 lines
New Configuration Options
The following SR configuration options were added to the SR
Shell's OPTION command in version 2.58.
Option (18) The delete fail-safe option determines whether or
not the SR Shell asks you to confirm each file to
be deleted by the SR Shell's DELETE command.
- <YES> = The SR Shell prompts you before each
file deletion. (Default)
- <NO> = The SR Shell executes the DELETE
command without the fail-safe query.
The fail-safe prompt works somewhat differently
depending on whether you are deleting the
highlighted <selected_file> or a set of files.
When the DELETE command object is a
<selected_file>, the deletion requires two
alternate key strokes:
1. a <CR> to execute the delete command.
2. a <Y> in response to the delete query
message from the SR Shell.
No file can be accidentally deleted by pressing
or holding down a key by mistake. For example:
DELETE TEST1.BAT
^ delete C:\MYDIR\TEST1.BAT ? (y/n) _
When the DELETE command object is a generic file
specification, <*> or <?> or Tag_Set <{}>, the
SR Shell queries about each file selected for
deletion. If your respond <N>, the file is not
deleted. If your respond <Y>, the file is
deleted. In either case, the SR Shell's DELETE
command then proceeds to the next file to be
deleted. If you respond <A> for all, the SR
Shell deletes all remaining files selected for
deletion by the current DELETE command without
prompting for each one. If you respond <E> for
end or <ESC>, the file is not deleted and the
DELETE command is terminated. For example:
DELETE *.BAT
^ delete C:\DOC\GO.BAT ? (y/n/all/end) _
- 1 -
PLEASE NOTE: The default for the DELETE fail-safe
option (18) is <YES>; this setting requires you
to confirm every file deletion. While this is
important to many users, some users may find it
tedious or annoying. If this is the case, you
may reconfigure your SR Shell with the OPTION
command so that the fail_safe option is <NO>. As
all SR Shell configuration options, the delete
fail-safe option, once changed, need not be reset
again during lifetime of the configuration file.
The default is set to <YES> because, if the SR
Shell unexpectedly initializes the configuration
file to its default values at start up, due to an
unavailable configuration file, less harm results
when the user expects delete fail-safe option to
be <NO> and it is <YES> than when the user
expects it to be <YES> and it is <NO>.
To change the delete fail-safe option:
1. Enter <SR> to start the Still River Shell.
2. Enter <O> to select the OTHER command.
3. Enter <O> to select the OPTION command.
4. Enter <DOWN_CURSER> to select Option (18).
5. Enter <C> to CHANGE the option YES or NO.
6. Enter <S> to SAVE the change.
7. Enter <ESC> to return the LIST
presentation.
- 2 -
Option (19) The exit prompt option determines whether or not
the SR Shell confirms a request to exit the SR
Shell.
- <YES> = When you enter <ESC> while in the
LIST command selection presentation, you are
prompted before exiting the SR Shell.
- <NO> = When you enter <ESC> while in the
LIST command selection presentation, you
immediately exit the SR Shell and return to
DOS. (Default)
For example:
Exit the Still River Shell? (y/n) _
If you respond <Y>, you exit the SR Shell and
return to DOS. If you respond <N>, the SR Shell
does not exit and, instead, returns you to the
LIST command selection presentation.
- 3 -
New UP Command
The UP command was added to the SR Shell by version 2.58.
Command UP
Function The UP command makes the parent directory, the
next directory up from the current directory, the
new current directory and displays a list of its
files.
Operand 1 None.
Operation The UP command is equivalent to the commands:
LIST ..
or
LIST ..\*.*
If the current directory is the root directory,
the SR Shell takes no action.
When you issue the UP command, the current
directory becomes the previous directory; you can
issue a PREVIOUS command to return to it.
In addition to being a convenient way to go to a
parent directory, the UP command is the only
direct method for selecting the parent directory
of a current directory in which there are
subdirectories but no other files and the SR
configuration Option (4), the auto list option,
is <YES>.
Options None.
- 4 -